<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
      <meta http-equiv="X-UA-Compatiable" content="IE=Edge,chrome=1.0">
      <meta name="format-detection" content="telephone=no,email=no,address=no">
    <title>豆瓣电影</title>
  </head>
  <body>
    <div id="app"></div>
    <!-- built files will be auto injected -->
    <script>
      fnResize()
   window.onresize = function () {
     fnResize()
   }
   function fnResize() {
     var deviceWidth = document.documentElement.clientWidth || window.innerWidth
     if (deviceWidth >= 750) {
       deviceWidth = 750
     }
     if (deviceWidth <= 320) {
       deviceWidth = 320
     }
     document.documentElement.style.fontSize = (deviceWidth / 3.75) + 'px'
     document.body.style.fontSize = ".12rem"
   }
   </script>
  </body>
</html>
